<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'deviceMgr.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	<link rel="StyleSheet" href="${pageContext.request.contextPath}/css/table4jtheme/tabletree4j.css" type="text/css" />
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/table4j/Core4j.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/table4j/TableTree4j.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-3.1.1.min.js"></script>
	<script language="javascript">
	</script>
  </head>
  
  <body>
   	<div id="worldcupgird" class="content" style="margin-top:5px;float:left;width:81%;margin-left:1%">
   		<table>
  			<tr>
   				<td>路灯编号</td>
   				<td><input type="text" readonly="readonly" value="${light.lightNum}" /></td>
   			</tr>
   			<tr>
   				<td>区名称</td>
   				<td><input type="text" readonly="readonly" value="${light.addressName}" /></td>
   			</tr>
   			<tr>
   				<td>状态</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.statusCode}" /></td>
   			</tr>
   			<tr>
   				<td>当前温度</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.temperature}" /></td>
   			</tr>
   			<tr>
   				<td>太阳板电压</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.solarPanelVol}" /></td>
   			</tr>
   			<tr>
   				<td>蓄电池电压</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.batteryVol}" /></td>
   			</tr>
   			<tr>
   				<td>充电电流</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.chargeCurrent}" /></td>
   			</tr>
   			<tr>
   				<td>放电电流</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.workCurrent}" /></td>
   			</tr>
   			
   			<tr>
   				<td>放电电压</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.workVol}" /></td>
   			</tr>
   			<tr>
   				<td>总充电数</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.chargeCount}" /></td>
   			</tr>
   			<tr>
   				<td>总放电数</td>
   				<td><input type="text" readonly="readonly" value="${lightStatus.workCount}" /></td>
   			</tr>
   		</table>
   	</div>
  </body>
</html>
